/* 清除内外边距 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 去除li标签的样式 */
li {
    list-style: none;
}

/* 去除a标签的下划线 */
a {
    text-decoration: none;
}

.nav ul {
    margin-left: 9%;
}

/* 给主要的list做样式 */
.mainList li {
    float: left;
    height: 12px;
    font-size: 12px;
    color: rgb(176, 176, 176);
    line-height: 12px;
    margin-top: 14px;
    margin-right: 8px;
    padding-right: 6px;
    border-right: 1px solid rgb(66, 66, 63);
}

/* 鼠标漂浮过时，变白色 */
.nav ul li:hover {
    color: white;
}

/* 导航栏样式的添加 */
.nav {
    position: relative;
    width: 100%;
    height: 40px;
    background-color: rgb(51, 51, 51);
}

/* 头部样式添加 */
.head {
    position: relative;
    height: 100px;
    width: 1240px;
    margin: auto;
    /* background-color: aqua; */
}

/* 主体制作 */
.bodys {
    position: relative;
    width: 1240px;
    margin: auto;
    height: 460px;
}

/* 给注册列表添加样式 */
.registerList li {
    float: left;
    height: 12px;
    font-size: 12px;
    color: rgb(176, 176, 176);
    line-height: 12px;
    margin-top: 14px;
    margin-right: 8px;
    padding-right: 6px;
    border-right: 1px solid rgb(66, 66, 63);
}

/* 让registerList margin-left */
.nav .registerList {
    position: absolute;
    left: 950px;
}

/* 购物车样式添加  */
.gwc {
    position: absolute;
    right: 9%;
    width: 120px;
    height: 100%;
    font-size: 12px;
    line-height: 40px;
    text-align: center;
    color: rgb(176, 176, 176);
    background-color: rgb(66, 66, 66);
}

/* 给购物车添加浮动效果 */
.gwc:hover {
    color: rgb(255, 103, 0);
    background-color: rgb(255, 255, 255);
}

/* 购物车图标字体添加 */
.gwcIcon {
    position: absolute;
    top: 1px;
    left: 10px;
    font-family: "iconfont" !important;
    font-size: 18px;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 给小米标签添加样式 */
.head .icon {
    position: absolute;
    top: 22px;
    width: 56px;
    height: 56px;
}


/* 给头部的商品添加样式 */
.head .spList {
    margin-left: 238px;
}

.head .spList li {
    float: left;
    font-size: 16px;
    text-align: center;
    height: 16px;
    line-height: 16px;
    margin-top: 42px;
    margin-right: 18px;
}

.head .spList li:hover {
    color: rgb(255, 103, 0);
}

/* 给搜索框添加样式 */
.head .search input {
    position: absolute;
    right: 50px;
    top: 25px;
    width: 240px;
    height: 50px;
    background-color: white;
    outline: none;
    border: 1px solid rgb(224, 224, 224);
}

.head .search input:focus {
    outline: none;
    border: 1.5px solid rgb(255, 103, 0);
}

/* 聚焦搜索框时改变按钮样式 */
.head .search input:focus~.commit input {
    border: 1px solid rgb(255, 103, 0);
    border-left: 0px solid;
}

/* 给搜索按钮添加样式 */
.head .commit input {
    position: absolute;
    right: 0px;
    top: 25px;
    width: 50px;
    height: 50px;
    border: 1px solid rgb(224, 224, 244);
    border-left: 0px solid;
    background-color: white;
    transition: all 0.3s;
}

.head .commit input:hover {
    background-color: rgb(255, 103, 0);
}

/* 添加搜索图标 */
.iconfont {
    position: absolute;
    right: 1.4%;
    top: 42px;
    font-family: "iconfont" !important;
    font-size: 20px;
    font-style: normal;
    font-weight: 800;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: all 0.3s;
}

/* 浮动时让iconfont字体产生颜色变化 */
.head .commit:hover .iconfont {
    color: rgb(255, 255, 255);
}

/* 浮动列表添加样式 */
.bodys .List {
    float: left;
    position: relative;
    width: 234px;
    height: 460px;
    background-color: rgb(163, 158, 156);
}

.bodys .List ul:first-child {
    position: absolute;
    top: 30px;
}

.bodys .List ul li {
    width: 234px;
    height: 40px;
}

/* 给li标签里a标签里的内容设置样式 */
.bodys .List ul li a {
    display: inline-block;
    width: 100%;
    height: 100%;
    color: white;
    font-size: 14px;
    line-height: 40px;
    text-indent: 2em;
}

/* List中标签浮动效果 */
.bodys .List ul li:hover {
    background-color: rgb(255, 103, 0);
}

/* 添加轮播图 */
.bodys .lb {
    position: absolute;
    top: 0px;
    right: 0px;
    width: 1006px;
    height: 460px;
    overflow: hidden;
}

/* 轮播图基本样式添加 */
.bodys .lb ul li img {
    width: 1006px;
    height: 460px;
}

.bodys .lb ul {
    position: absolute;
    top: 0;
    left: 0;
    width: 6200px;
    height: 460px;
}

.bodys .lb .ulList li {
    float: left !important;
    list-style: none;
}

.bodys .lb ol {
    position: absolute;
    right: 20px;
    bottom: 10px;
}

.bodys .lb ol li {
    list-style-type: none;
    float: left;
    margin-left: 5px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1px solid rgb(145, 145, 146);
}

.arrow-l,
.arrow-r {
    display: none;
    position: absolute;
    top: 50%;
    margin-top: -35px;
    width: 40px;
    height: 70px;
    background: rgba(108, 108, 111, .8);
    text-align: center;
    line-height: 70px;
    color: #fff;
    font-family: 'icomoon';
    font-size: 18px;
    z-index: 20;
}

/* 给轮播图两边的箭头添加iconfont */
.arrow-l-iconfont,
.arrow-r-iconfont {
    font-family: "iconfont" !important;
    font-size: 35px;
    color: #fff;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.bodys .lb .arrow-r {
    right: 0px;
}

/* 轮播图按钮浮动时背景颜色 */
.current {
    background-color: rgb(127, 127, 127);
}

/* 给选择列表添加iconfont字体样式 */
.List-iconfont {
    display: inline-block;
    position: absolute;
    right: 30px;
    font-family: "iconfont" !important;
    font-size: 14px;
    color: #fff;
    font-style: normal;
    font-weight: bold;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 制作商品展示列表 */
/* 给主题设置 */
.shoping {
    width: 1240px;
    height: 170px;
    margin: auto;
    margin-top: 20px;
}

/* 添加服务模块 */
.shoping .service {
    position: relative;
    float: left;
    width: 235px;
    height: 100%;
    background-color: rgb(95, 87, 80);
}

/* 服务模块添加iconfont字体，且进行样式地添加 */
.shoping .service .baoxiu,
.compony,
.recovery,
.phone,
.email,
.gefu {
    width: 78px;
    height: 85px;
    float: left;
    font-family: "iconfont" !important;
    font-size: 30px;
    font-style: normal;
    text-align: center;
    line-height: 75px;
    color: rgb(171, 167, 163);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: all .8s;
}

/* 給服务模块里的字体span进行样式添加 */
.shoping .service .baoxiu span {
    position: absolute;
    bottom: 136px;
    left: 16px;
    height: 12px;
    font-size: 12px;
}

.shoping .service .compony span {
    position: absolute;
    bottom: 136px;
    left: 94px;
    height: 12px;
    font-size: 12px;
}

.shoping .service .gefu span {
    position: absolute;
    bottom: 50px;
    right: 30px;
    height: 12px;
    font-size: 12px;
}

.shoping .service .phone span {
    position: absolute;
    bottom: 50px;
    left: 27px;
    height: 12px;
    font-size: 12px;
}

.shoping .service .recovery span {
    position: absolute;
    bottom: 136px;
    right: 16px;
    height: 12px;
    font-size: 12px;
}

.shoping .service .email span {
    position: absolute;
    bottom: 50px;
    left: 104px;
    height: 12px;
    font-size: 12px;
}

/* 浮动模块时添加样式 */
.shoping .service .baoxiu:hover {
    color: rgb(255, 244, 227);
}

.shoping .service .recovery:hover {
    color: rgb(255, 244, 227);
}

.shoping .service .phone:hover {
    color: rgb(255, 244, 227);
}

.shoping .service .email:hover {
    color: rgb(255, 244, 227);
}

.shoping .service .gefu:hover {
    color: rgb(255, 244, 227);
}

.shoping .service .compony:hover {
    color: rgb(255, 244, 227);
}

/* 给其他的三个子模块进行样式添加 */
.shoping .zs1,
.zs2,
.zs3 {
    float: left;
    margin-left: 20px;
    width: 315px;
    height: 100%;
    background-color: salmon;
    transition: all 0.8s;
}

.shoping .zs1:hover {
    box-shadow: 1px 1px 6px 5px rgb(235, 235, 235);
}

.shoping .zs2:hover {
    box-shadow: 1px 1px 6px 5px rgb(235, 235, 235);
}

.shoping .zs3:hover {
    box-shadow: 1px 1px 6px 5px rgb(235, 235, 235);
}

/* 大图模块的添加 */
.fg {
    position: relative;
    width: 100%;
    height: 1600px;
    margin-top: 28px;
    background-color: rgb(245, 245, 245);
}

.fg .navImage {
    position: absolute;
    top: 28px;
    width: 1240px;
    height: 120px;
    margin-left: 9.2%;
}

.fg .iphone {
    position: absolute;
    top: 180px;
    left: 9.2%;
    width: 1240px;
    height: 654px;
}

/* 给字体设置样式 */
.title {
    position: relative;
    height: 40px;
}

/* 给t1设置样式 */
.title .t1 {
    display: inline-block;
    height: 40px;
    text-align: center;
    line-height: 40px;
    font-size: 20px;
    color: rgb(51, 51, 51);
}

/* 给t2设置样式 */
.title .t2 {
    position: absolute;
    right: 40px;
    display: inline-block;
    height: 40px;
    text-align: center;
    line-height: 40px;
    font-size: 16px;
    transition: all 0.8s;
}

/* 给t2旁边的右箭头iconfont添加样式 */
.rightRedirect {
    position: absolute;
    right: 15px;
    display: inline-block;
    height: 40px;
    text-align: center;
    line-height: 40px;
    font-family: "iconfont" !important;
    font-size: 20px;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 添加浮动后的样式 */
.rightRedirect:hover {
    color: rgb(163, 158, 156);
}

/* 添加浮动时，字体变色效果 */
.title .t2:hover {
    color: rgb(255, 103, 0);
}

/* 给手机展示栏设置宽高 */
.phoneList {
    width: 100%;
    height: 614px;
}

/* 给最大手机展示添加样式 */
.phoneList .mLi {
    width: 234px;
    height: 614px;
    margin: 0;
}

/* 给其余的展示页设置样式 */
.phoneList ul li {
    float: left;
    margin-left: 17.5px;
    width: 234px;
    height: 300px;
    background-color: rgb(255, 255, 255);
    transition: all .3s;
}

/* 给内部的图片设置大小 */
.phoneList ul li:nth-child(n+2) img {
    display: inline-block;
    margin-left: 37px;
    margin-top: 15px;
    width: 160px;
    height: 160px;
}


/* 给最下面的展示列表设置margin-top */
.phoneList ul li:nth-child(n+6) {
    margin-top: 14px;
}

/* 添加浮动的阴影效果 */
.phoneList ul li:hover {
    box-shadow: 0 10px 10px -10px rgba(0, 0, 0, 0.4);
    -webkit-transform: scale(1.01);
    transform: scale(1.01);
}

/* 售后模块的样式添加 */
.AfterSales {
    position: absolute;
    left: 0;
    bottom: 290px;
    width: 100%;
    height: 450px;
    background-color: rgb(255, 255, 255);
}

/* 售后模块的小列表样式添加 */
.SalesList {
    width: 1240px;
    height: 60px;
    margin: auto;
    margin-top: 20px;
    background-color: rgb(255, 255, 255);
}

.line {
    display: block;
    width: 1240px;
    height: 1px;
    margin: auto;
    margin-top: 20px;
    /* 去除设置块元素所产生的边线 */
    border: 0px solid;
    background-color: rgb(224, 224, 224);
}

/* 给ul内部的li标签设置样式 */
.AfterSales .SalesList ul li {
    float: left;
    width: 200px;
    height: 30px;
    margin-top: 15px;
    margin-right: 60px;
    line-height: 30px;
    text-indent: 1.4em;
    background-color: rgb(255, 255, 255);
    border-right: 1px solid rgb(224, 224, 224);
}

/* 给最后一个li标签单独设置margin-right样式 */
.AfterSales .SalesList ul li:last-child {
    text-indent: 0em;
    margin-right: 0px;
    border-right: 0px solid;
}

/* 给<a>标签设置字体样式和大小 */
.AfterSales .SalesList ul li a {
    font-size: 18px;
    transition: all 0.5s;
    color: rgb(97, 97, 97);
}

.AfterSales .SalesList ul li a:hover {
    color: rgb(255, 103, 0);
}

/* 预约维修服务的小扳手 */
.bShou {
    font-family: "iconfont" !important;
    font-size: 25px;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 最后的小列表展示 */
/* 将每个ul标签设置为行内块元素 消除块级元素的占行特性*/
.list ul {
    display: inline-block;
    width: 160px;
    margin-right: 19px;
}

.list .ful {
    position: absolute;
    top: 0px;
    left: 179px;
}

.list .sul {
    position: absolute;
    top: 0px;
    left: 358px;
}

.list .tul {
    position: absolute;
    top: 0px;
    left: 537px;
}

.list .frul {
    position: absolute;
    top: 0px;
    left: 716px;
}

.list ul li a {
    display: inline-block;
    width: 160px;
    height: 30px;
    line-height: 30px;
    text-indent: 0px;
    font-size: 12px;
    color: rgb(117, 117, 117);
}

/* 给ul里的ul所有第一个li标签设置样式 */
.list ul li .wFont {
    font-size: 16px !important;
    color: rgb(66, 66, 66);
}

/* 设置ul集合地整个版心 */
.list {
    position: relative;
    margin-top: 20px;
    width: 1120px;
    height: 330px;
    margin-left: 16%;
}

/* 添加浮动效果 */
.list ul li a:hover {
    color: rgb(255, 103, 0);
}

/* 去除粗体浮动产生的样式 */
.list ul .wFont:hover {
    color: rgb(66, 66, 66);
}

/* 给最后的ul生成边框 */
.list .frul {
    border-right: 1px solid rgb(224, 224, 224);
}

/* 设置最后服务电话的样式 */
.list-right {
    position: absolute;
    right: 0px;
    top: 0px;
    width: 200px;
    height: 200px;
}

.list-right-service1 span {
    display: inline-block;
    width: 200px;
    height: 25px;
    color: rgb(255, 103, 0);
    font-size: 20px;
}

.list-right-service2 span {
    display: inline-block;
    width: 200px;
    height: 25px;
    color: rgb(66, 66, 66);
    font-size: 12px;
}

.list-right-service3 {
    display: inline-block;
    width: 120px;
    height: 30px;
    border: 1px solid rgb(255, 103, 0);
    margin-left: 10px;
}

.list-right-service3-font {
    font-size: 12px;
    color: rgb(255, 103, 0);
    text-align: center;
    line-height: 30px;
    margin-left: 5px;
}

.list-right-service3-iconfont {
    font-family: "iconfont" !important;
    font-size: 14px;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: rgb(255, 103, 0);
    margin-left: 26px;
}